#include <iostream>
using namespace std;

int main() {
    int i = 1;
    char ch = 'y';
    while (ch == 'y' || ch == 'Y') {
        cout << "\n第 " << i++ << " 次显示:\n";
        cout << "Roses are red\n"
            << "Violets are blue\n"
            << "I love C++\n"
            << "How about you?\n";
        cout << "再看一次这首诗吗? y = yes, n = no: ";
        cin >> ch;
    }

    cout << "诗显示完毕，再见.\n";
}